<div class="" id="tab-top" >
    <div class="navTabContainer">
        <ul>
        <% categories.forEach(function (category, index){ %>
            <li class="nav_item" data-id='<%= category._id %>' data-slug='<%= category.slug %>'>
                 <%= category.name %>
            </li>
        <% }) %>
        </ul>
    </div>
</div> 